package org.moonlight.jvm.rtda.share.heap.symref;

import org.moonlight.jvm.classfile.constant.info.ConstantClassInfo;
import org.moonlight.jvm.rtda.share.methodarea.RtConstantPool;

/**
 * 类的符号引用
 *
 * @author Moonlight
 * @createTime 2023/8/29 17:56
 **/
public class ClassRef extends SymRef {

    public ClassRef(RtConstantPool rtCp, ConstantClassInfo classInfo) {
        this.rtCp = rtCp;
        this.className = classInfo.name();
    }

}
